// import { formatTime } from '@/utils'
// 客户机管理列表表头
export const normalColumns = [
  { title18: 'common.sequenceNo', dataIndex: 'index', key: 'index', align: 'center',
    customRender: ({ index }) => {  return index + 1  }
  },
  { title18: 'deviceManage.clientName', dataIndex: 'name', key: 'name', align: 'center', sorter: true },
  { title18: 'deviceManage.clientType', dataIndex: 'type', key: 'type', align: 'center', sorter: true},
  { title18: 'deviceManage.waterLineNo', dataIndex: 'hangerLine', key: 'hangerLine', align: 'center' , sorter: true},
  { title18: 'common.remark', dataIndex: 'remark', key: 'remark', align: 'center' , sorter: true},
  { title18: 'deviceManage.ipAddr', dataIndex: 'ipAddr', key: 'ipAddr', align: 'center', sorter: true },
  { title18: 'deviceManage.point', dataIndex: 'port', key: 'port', align: 'center', sorter: true },
  { title18: 'common.startState', dataIndex: 'status', key: 'status', align: 'center', sorter: true },
  { title18: 'common.operate', dataIndex: 'operate', key: 'operate', align: 'center', width: 130 , fixed: 'right' }
]
export const localColumns = [
  { title18: 'common.sequenceNo', dataIndex: 'index', key: 'index', align: 'center',
    customRender: ({ index }) => {  return index + 1  }
  },
  { title18: 'deviceManage.clientName', dataIndex: 'name', key: 'name', align: 'center', sorter: true },
  { title18: 'deviceManage.clientType', dataIndex: 'type', key: 'type', align: 'center', sorter: true},
  { title18: 'deviceManage.waterLineNo', dataIndex: 'hangerLine', key: 'hangerLine', align: 'center' , sorter: true},
  { title18: 'common.remark', dataIndex: 'remark', key: 'remark', align: 'center' , sorter: true},
  { title18: 'deviceManage.ipAddr', dataIndex: 'ipAddr', key: 'ipAddr', align: 'center', sorter: true },
  { title18: 'deviceManage.point', dataIndex: 'port', key: 'port', align: 'center', sorter: true },
  { title18: 'common.startState', dataIndex: 'status', key: 'status', align: 'center', sorter: true }
]
